﻿using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;

namespace PC.PickleJar.Trello.VisualStudio
{
	[Export(typeof(IIntellisenseControllerProvider))]
	[Name("Trello ToolTip QuickInfo Controller")]
	[ContentType("code")]
	internal class QuickInfoControllerProvider : IIntellisenseControllerProvider
	{
		public IIntellisenseController TryCreateIntellisenseController(ITextView textView, IList<ITextBuffer> subjectBuffers)
		{
			return new QuickInfoController(textView, subjectBuffers, this);
		}

		[Import]
		internal IQuickInfoBroker QuickInfoBroker
		{
			get;
			set;
		}
	}
}
